package edu.study.user;

import edu.study.common.config.WebConfig;
import edu.study.common.util.cache.UseRedis;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@Import({UseRedis.class, WebConfig.class})
@EnableDiscoveryClient
@ImportResource({ "classpath*:spring/*.xml" })
//@EnableApolloConfig({ "application", "share.study" })
@Slf4j
public class UserApplication {
	
	public static void main(String[] args) {
		ApplicationContext applicationContext = SpringApplication.run(UserApplication.class, args);
		log.info("*******************启动成功:{}****************", applicationContext.toString());
	}
}
